<%@ page language="java" import="java.util.*" import="edu.nanyang.hibernate.ManageGoodsImpl" import="edu.nanyang.domain.Goods"  pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'modifygoods.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
<h3>修改物品信息：</h3>
<s:form action="modifygoods1">
<table width="800" border="1">

  
  
  <tr>
  
    <td >id：</td>
    <td >${goods1.id}<input  type="hidden" name="goods1.id" value=${goods1.id}></td>
  </tr>
  <tr>
    <td >供求关系：</td>
    <td >${goods1.supplyordemand}</td>
  </tr>
  <tr>
    <td>标题：</td>
    <td><input  type='text' name="goods1.title" value=${goods1.title}></input></td>
    </tr>
    <tr>
    <td>分类：</td>
    <td>${goods1.classify}</td>
  </tr>
  <tr>
    <td>新旧程度：</td>
    <td><${goods1.newlevel}</td>
  </tr>
   <tr>
    <td>转让价格：</td>
    <td><input  type='text' name="goods1.price" value=${goods1.price}></input></td>
  </tr>
   
   <tr>
    <td>物品描述：</td>
    <td><input  type='text' name="goods1.description" value=${goods1.description}></input></td>
  </tr>
   <tr>
    <td>联系人电话号码：</td>
    <td>${goods1.telephone}</td>
  </tr>
   <tr>
    <td>联系人姓名：</td>
    <td>${goods1.contactname}</td>
  </tr>
   
  
  
</table>
<s:submit value="提交"></s:submit>
</s:form>
  </body>
</html>
